//
//  OBaseLogic.h
//  soccer
//
//  Created by 上官千城 on 15/9/18.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ONet.h"
#import "OErrorCode.h"
/*
@protocol OMultipleLogicRun <NSObject>

-(void) muRun:(id)logicObj;

@end
*/
 
@interface OBaseLogic : NSObject<OLogicRun>
{
    @protected NSString* _url;
    //@protected id<OMultipleLogicRun> _muDelegate;
    //@protected SEL _callBack;
    @protected NSObject* _recvObjc;
    @protected SEL _callBack;
}

-(instancetype) initWithCallBack:(SEL)callBack for:(NSObject*)recvObjc;

-(instancetype) initWithName:(NSString*)name recvObjc:(NSObject*)revcObjc callBack:(SEL)callBack;

//-(instancetype) initWithName: (NSString*)name;


-(void)send:(NSDictionary*)params;

-(void) request;

-(void) mu;


@end
